package com.wander.patterns.create.factory.abstractfactory;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;

/**
 * @description:抽象工厂模式
 * 用于生产多个产品族的产品 业务场景
 * @author: zhuyong
 * @create: 2019-09-04 18:12
 **/
public class Client {
    public static void main(String[] args) {
        //生产高端产品族
        CarFactory carFactory = new HighEndCarFactory();
        carFactory.createEngine().run();
        carFactory.createWheel().run();


    }


}
